<?php

namespace App\Extends;

use App\Helpers\ApiResponseTrait;
use Illuminate\Support\Facades\Request;

//use Illuminate\;

abstract class BaseController {
    use ApiResponseTrait;

    protected $service;

    protected $adminId;

    /**
     * 构造函数
     * @param $service
     */
    public function __construct($service)
    {
        $this->service = $service;
        $this->adminId = Request::input('admin_id');
    }
}
